export const calcWH = function ({width,height}, val) {
    const scale = (width / height).toFixed(4)
    const varWidthOrHeight = (val / scale).toFixed(0)


    return varWidthOrHeight
}